package com.tjetc.repository;

import com.tjetc.domain.Detail;
import com.tjetc.domain.Voclcontent;
import org.springframework.data.domain.Pageable;
import org.springframework.data.elasticsearch.annotations.Highlight;
import org.springframework.data.elasticsearch.annotations.HighlightField;
import org.springframework.data.elasticsearch.annotations.HighlightParameters;
import org.springframework.data.elasticsearch.core.SearchPage;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface DetailDao extends ElasticsearchRepository<Detail,Integer> {

    List<Detail> findByNameLike(String name);

}
